package com.wkbb.sports.model;

import com.wkbb.common.dto.HkPhysicalInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
//体适能数据
@Data
public class HkPhysicalData implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "体测标识")
    private Long measureId;
    @ApiModelProperty(value = "三方唯一标识")
    private String thirdId;
    @ApiModelProperty(value = "体适能总分")
    private String score;
    @ApiModelProperty(value = "体适能等级")
    private String level;
    @ApiModelProperty(value = "体重")
    private HkPhysicalInfo weight;
    @ApiModelProperty(value = "纵跳")
    private HkPhysicalInfo verticalJump;
    @ApiModelProperty(value = "肺活量")
    private HkPhysicalInfo vitalCapacity;
    @ApiModelProperty(value = "台阶测试")
    private HkPhysicalInfo stepTest;
    @ApiModelProperty(value = "平衡能力")
    private HkPhysicalInfo balanced;
    @ApiModelProperty(value = "坐位体前屈")
    private HkPhysicalInfo sitReach;
    @ApiModelProperty(value = "反应速度")
    private HkPhysicalInfo reaction;
    @ApiModelProperty(value = "握力")
    private HkPhysicalInfo grip;
    @ApiModelProperty(value = "一分钟跳绳")
    private HkPhysicalInfo jumpRope;
    @ApiModelProperty(value = "一分钟仰卧起坐")
    private HkPhysicalInfo sitUp;
    @ApiModelProperty(value = "俯卧撑")
    private HkPhysicalInfo pushUp;

    public void initData(HkBody data){
        measureId = data.getMeasureId();
        thirdId = data.getThirdId();
    }
}
